import request from "../request";
import type { Response } from "../types";

// 添加用户到群聊
const addUsersToGroup: Response<
  {
    groupId: number;
    userList: number[];
    userId: number;
  },
  {
    addedUserIds: number[];
    groupId: number;
  }
> = params => {
  return request.post("/group/addusers", params);
};

export {
  addUsersToGroup
}; 